package com._51cto.healthy.controller;

import com._51cto.healthy.content.R;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@Api(value = "接口测试",tags = "接口测试")
@RestController
public class TestController {

    @GetMapping("/test")
    public R<String> test(@RequestParam("name") String name){
        return R.success("hello world","访问成功");
    }
}
